<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
 <link type="text/css" rel="Stylesheet" href="${pageContext.request.contextPath}/resource/css/admin-main.css" />
<script type="text/javascript" src="${pageContext.request.contextPath}/resource/js/csdn.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/resource/js/master.js"></script>
 <link rel="Stylesheet" href="${pageContext.request.contextPath}/resource/css/index.css" type="text/css"/>
 
    <title>My JSP 'postDraft.jsp' starting page</title>
    
   </head>
  
  <body>
    
<jsp:include page="../inc/head_nav.jsp" />

	<div id="wrap">
	<jsp:include page="../inc/tabs_header.jsp"></jsp:include>
	<p>
	<a href="${pageContext.request.contextPath}/user/postList.jsp">我的博客</a>
	>> 草稿箱
	</p>

		<script type='text/javascript'
			src='/content/scripts/postlist.js?v=1.1'></script>

		<div id="sel_div" class="h_status">
		
			类别：<select id="selCat">
			<option value="0">全部&nbsp;&nbsp;&nbsp;&nbsp;</option></select> 
			
			类型：<select id="selType">
				<option value="all">全部&nbsp;&nbsp;&nbsp;&nbsp;</option>
				<option value="original">私有</option>
				<option value="repost">公开</option></select>&nbsp; 
				
			状态：<select id="selBoleArticle">
				<option value="">请选择&nbsp;&nbsp;&nbsp;&nbsp;</option>
				<option value="allbole">全部&nbsp;&nbsp;&nbsp;&nbsp;</option>
				<option value="allcomment">审核未通过</option>
				<option value="otherbole">已发布</option></select>&nbsp;

		</div>
		<table id="lstBox" cellspacing="0">
			<tr>
				<th class="tdleft">标题</th>
				<th style="width:70px;">分类</th>
				<th style="width:50px;">阅读量</th>
				<th style="width:50px;">评论</th>
				<th style="width:70px;">发布时间</th>
				<th style="width:70px;">状态</th>
				<th style="width:70px;">操作</th>
			</tr>

				<c:forEach items="${list}" var="l">
					<tr>
					<td class="tdleft"><a href="${pageContext.request.contextPath}/ArticleSer?tag=detail&&articleid=${l.articleId}"><span style="color: red">[${l.articleType}]</span>&nbsp;${l.articleTitle }</a></td>
					<td style="width:50px;">${l.getArticlecat().getSortName()}</td>
					<td style="width:50px;">${l.articleClick }</td>
					<td style="width:70px;">1000</td>
					<td style="width:170px;">${l.getStringDate() }</td>
					<td style="width:50px;">${l.articleStatus }</td>
					<td>
					<a href="">修改</a>&nbsp;|
					<a href="">删除</a>&nbsp;
					</td>
					</tr>
				</c:forEach>


		</table>
		<div class="page_nav">
			<span> 共1页</span><strong>1</strong>
		</div>
	</div>
	
<jsp:include page="../inc/footer_nav.jsp" />
  </body>
</html>
